package cn.xinfei.xdecision.common.model.datax.migrate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
@TableName("Element")
public class Element implements Serializable {
    private static final long serialVersionUID = 9180626914936252135L;

    private String id;
    private String name;
    private String type;
    private String defaultValue;
    private String from;
    private String system;
    private Long modelId;
    private String isVisible;
    private String isDeleted;
    private Date createdTime;
    private Date updatedTime;

    @TableField(exist = false)
    private List<String> paramElements;
    @TableField(exist = false)
    private String script;
}
